<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConfigPreviewLogin.aspx.cs" Inherits="Webadmin_Modules_Configuration_ConfigPreviewLogin" %>
<%@ Register Src="../PowerBy.ascx" TagName="PowerBy" TagPrefix="uc1" %>
<%@ Import Namespace="System.Data" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
     <title>.: Welcome to Admin Console :.</title>    
    <link href="../../CSS/bzAdmin.css" rel="stylesheet" type="text/css" />
    <link href="../../CSS/bzPagination.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="box_main">  
  <tr>
    <td width="100%" height="30" valign="top" class="navigator" align="left">&nbsp;<%=this.Navigator %></td>
  </tr>
  <tr>
    <td valign="top" align="center">
  		<table width="98%" class="box_into">            
            <tr >     
              <td width="100%" align="center" valign="middle">&nbsp;</td>     
            </tr>            
            <tr>
              <td class="box_tool">
                <%--<div style="float:left">&nbsp;
                    <a href="#" class="tool" onclick="if(confirm('<%=this.AdminLang["DeleteQuestion"] %>')) submitFormBody(document.frmMain,'Act=Del<%=this.SearchString %>','<%=this.AdminLang["FormMainError"] %>');"><img src="../../Images/Icon/delete.gif" />&nbsp;<%=this.AdminLang["Delete"]%></a>                     
                </div>--%>
                <div class="box_page" style="float:right"><%=this.Pagination %></div>
              </td>
            </tr>   
            <tr>
              <td valign="middle">
	  	        <table class="box_main" width="100%" cellspacing="0">
	  	        <%-- Column of Body --%>
			        <tr>				
				        <td class="box_title" width="4%"><input type="checkbox" name="chkAll" title="<%=this.AdminLang["CheckAll"]%>" onclick="checkAllBody(document.frmMain,this.checked)" />&nbsp;</td>
				        <td class="box_title" style="width: 241px">&nbsp;<%=this.AdminLang["UserName"]%></td>	
				        <td class="box_title" style="width: 140px">&nbsp;<%=this.AdminLang["LoginTime"]%></td>		         
				        <td class="box_title" style="width: 112px">&nbsp;<%=this.AdminLang["IP"]%></td>
				        <td class="box_title" width="16%">&nbsp;<%=this.AdminLang["Success"]%></td>
			        </tr>			        
			       <%-- Begin of Form --%>
			        <form name="frmMain" method="post" action="?">
			 <%foreach (DataRow dr in _dt.Rows)
      {
                    
          %>
			        <tr>				
				        <td align="left" class="box_name" >&nbsp;<input type="checkbox" name="Chk" value="<%=dr["IDLogin"] %>"/>&nbsp;</td>
				        <td align="left" class="box_name" style="width: 241px" >&nbsp;<%=dr["AdminUser"]%></td>
				        <td align="left" class="box_name" style="width: 140px" >&nbsp;<%=dr["LoginTime"]%></td>
				         <td align="left" class="box_name" style="width: 112px" >&nbsp;<%=dr["IP"]%></td>
				          <td align="left" class="box_name" >&nbsp;<img src="../../Images/Icon/<%=dr["LoginSuccess"].ToString()=="1"?"check.gif":"un_check.gif"%>"/></td>
				          </tr>	<%}%>
			        </form>		
			        <%-- End  of Form --%>	        
		        </table>
	          </td>
            </tr>
            <tr>
               <td class="box_tool">
                <%--<div style="float:left">&nbsp;
                    <a href="#" class="tool" onclick="if(confirm('<%=this.AdminLang["DeleteQuestion"] %>')) submitFormBody(document.frmMain,'Act=Del<%=this.SearchString %>','<%=this.AdminLang["FormMainError"] %>');"><img src="../../Images/Icon/delete.gif" />&nbsp;<%=this.AdminLang["Delete"]%></a> 
                    
                </div>--%>
                <div class="box_page" style="float:right"><%=this.Pagination %></div>
              </td>
            </tr>     
          </table> 
        </td>
      </tr>
      <tr>
  	    <td height="10">&nbsp;</td>
      </tr>
    </table>  
    <script language="javascript" type="text/javascript"  src="../../JS/bzSubmitBody.js"></script>
    <uc1:PowerBy ID="PowerBy1" runat="server" />
</body>
</html>
